P.Mod.validator_form = function (dom,options) {
	var validator = dom.Widget("SimpleValidator");
	$("input[type='submit']",dom).click(function(e){
		var result = validator.verifyForm();
		if(result===true){
			alert("验证通过！");
			//....submit...
		}else{
            console.log(result);
			alert("验证失败！");
		}
		return false;
	});
};
$('#validator_form').Module();